import http from '../util/http.js'

const createUrl = "/comment/create"
const queryByPidUrl = "/comment/queryByPid"

const create = (data) =>{
    return http.post(createUrl,data)
}

const queryByPid = () =>{
    return http.get(queryByPidUrl)
}

export default {
    create,queryByPid
}